﻿using AutoMapper;
using B.S.Traceable.Domain.Entitiy;
using B.S.Traceable.Read.Api.Application.Command.Traceable;
using B.S.Traceable.Read.Api.Dtos;

namespace B.S.Traceable.Read.Api
{
    public class AutoMapperFile : Profile
    {
        public AutoMapperFile()
        {
            CreateMap<TraceableDto,TraceableModel>().ReverseMap();
            CreateMap<FanTraceableCommand,TraceableModel>().ReverseMap();
        }
    }
}
